package com.miracle9.game.service;

import com.miracle9.game.dao.CardDeskServiceDao;
import com.miracle9.game.entity.CardDesk;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("cardDeskService")
public class CardDeskService
{
  @Autowired
  private CardDeskServiceDao cardDeskServiceDao;
  
  public CardDesk getCardDesk(int id)
  {
    return (CardDesk)this.cardDeskServiceDao.getById(Integer.valueOf(id));
  }
}
